package controller

import (
	"uap/pkg/captcha"

	"github.com/gin-gonic/gin"
)

type CaptchaCtl struct {
}

func NewCaptchaCtl() *CaptchaCtl {
	return &CaptchaCtl{}
}

func (a *CaptchaCtl) LoginCaptcha(c *gin.Context) {
	uuid := c.DefaultQuery("uuid", "")
	captcha.CreatCaptcha(c, uuid)
}
